/**
 * Copyright (c) 2007,中企动力华南研发中心<br>
 * All rights reserved.<br>
 */
package com.ce.pms.system.renovation.dao;

import java.util.List;

import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.base.vo.SearchVO;
import com.ce.pms.system.renovation.model.ApprovalItemConfigDO;
import com.sitechasia.webx.core.support.Page;

/**
 * 功能描述装修审批DAO<br>
 * @author 易贤建 创建日期：2008-12-29<br>
 */
public interface IApprovalItemConfigDao extends IPmsBaseDao<ApprovalItemConfigDO> {
	/**
	 * 功能描述:通过ID查询DO<br>
	 * @param keyword
	 * @return
	 * Create author:yixianjian <br>
	 * Create on:2009-1-4  <br>
	 */
	public ApprovalItemConfigDO findApprovalItemConfigByID(Long keyword);

	/**
	 * 功能描述:通过项目名称查询DO<br>
	 * @param keyword
	 * @return
	 * Create author:yixianjian <br>
	 * Create on:2009-1-4  <br>
	 */
	public List<ApprovalItemConfigDO> findApprovalItemConfigByItemName(String itemName);

	/**
	 * 功能描述:keyword不同,ItemName一样的DO<br>
	 * @param keyword
	 * @return
	 * Create author:yixianjian <br>
	 * Create on:2009-1-4  <br>
	 */
	public List<ApprovalItemConfigDO> findByItemNameWithoutKeyword(Long keyword,String itemName);
	/**
	 * 功能描述: 分页查询装修审批项目<br>
	 * @param searchVO
	 * @return
	 * Create author:yixianjian <br>
	 * Create on:2008-12-29  <br>
	 */
	public Page queryApprovalItemList(SearchVO searchVO);

	/**
	 * 功能描述:查询指定员工的所有审批项目<br>
	 * @param employeeId
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-12-31<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public List<ApprovalItemConfigDO> getItemConfigs(Long employeeId);
}
